package com.soledroid.Model;

public class Stall {
	public static final String IMAGE_PATH = "http://soledroid.huytoan.com/images/stalls/";
	protected int id;
	protected String name;
	protected String image;
	protected String description;
	protected int canteenId;
	
	public Stall(int id, String name, String image, String description,
			int canteenId) {
		super();
		this.id = id;
		this.name = name;
		this.image = IMAGE_PATH + image;
		this.description = description;
		this.canteenId = canteenId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getCanteenId() {
		return canteenId;
	}

	public void setCanteenId(int canteenId) {
		this.canteenId = canteenId;
	}
	
	public String toString(){
		return name;
	}
}
